import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
	{
		path: '/',
		name: '',
		component: () => import('@/views/HomePage.vue'),
		redirect: '/testPage',
		children: [
			{
				path: '/testPage',
				name: 'testPage',
				component: () => import('@/views/TestPage.vue')
			},
			{
				path: '/cssTest',
				name: 'cssTest',
				component: () => import('@/views/CssTest.vue')
			}
		]
	}
]
const router = createRouter({
	history: createWebHashHistory(),
	routes
})

export default router
